/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ap.entity.Lnsurance;
import com.jeeplus.modules.ap.mapper.LnsuranceMapper;

/**
 * 保险Service
 * @author 李超辉
 * @version 2018-09-04
 */
@Service
@Transactional(readOnly = true)
public class LnsuranceService extends CrudService<LnsuranceMapper, Lnsurance> {

	public Lnsurance get(String id) {
		return super.get(id);
	}
	
	public List<Lnsurance> findList(Lnsurance lnsurance) {
		return super.findList(lnsurance);
	}
	
	public Page<Lnsurance> findPage(Page<Lnsurance> page, Lnsurance lnsurance) {
		return super.findPage(page, lnsurance);
	}
	
	@Transactional(readOnly = false)
	public void save(Lnsurance lnsurance) {
		super.save(lnsurance);
	}
	
	@Transactional(readOnly = false)
	public void delete(Lnsurance lnsurance) {
		super.delete(lnsurance);
	}
	
}